package com.j180.excepetion;

public class MyException extends Exception {

    private String msg;

    public MyException(String msg){

        this.msg = msg;
    }

    public String showError(){

        return msg;
    }

}
